package com.chinatcc.proxy.pojo;
// default package



/**
 * Right entity. @author MyEclipse Persistence Tools
 */

public class Right  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Role role;
     private String servicename;


    // Constructors

    /** default constructor */
    public Right() {
    }

    
    /** full constructor */
    public Right(Role role, String servicename) {
        this.role = role;
        this.servicename = servicename;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Role getRole() {
        return this.role;
    }
    
    public void setRole(Role role) {
        this.role = role;
    }

    public String getServicename() {
        return this.servicename;
    }
    
    public void setServicename(String servicename) {
        this.servicename = servicename;
    }
   








}